# -- coding: utf-8 -- 
# Name: 1_6_socket_timeout
import socket


s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
print s.gettimeout()
s.settimeout(100)
print s.gettimeout()